﻿using SKeeper.Domain.Companies;
using SKeeper.Domain.Invoices;
using SKeeper.Domain.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SKeeper.Domain.Warehouse
{
    public class Warehouse : IEntity
    {
        private ICollection<StoredItem> storedItems { get; set; }

        public Warehouse()
        {
            this.storedItems = new HashSet<StoredItem>();
        }

        public int Id { get; set; }
        
        public string Name { get; set; }

        public int CompanyId { get; set; }

        public virtual Company Company { get; set; }

        public virtual ICollection<StoredItem> StoredItems { get; set; }

        public virtual ICollection<Invoice> Invoices { get; set; }
    }
}
